package pkmn.move.indirectAction;

import pkmn.Pokemon;

public class UpCriticalRatio extends IndirectAction{

    public void execute(Pokemon pokemon){
        if (pokemon.getCriticalLevel() > 1){
            System.out.println("But, it failed!");
            return;
        }
        pokemon.addCriticalLevel(4);
        System.out.println(pokemon.getName() + " getting pumped!");
    }
}
